Skip to content

feat: add number_of_employees field to Profile API#313

Draft
Jai Shankar (jaishankar-plivo) wants to merge 1 commit into
masterfrom
feat/add-number-of-employees-to-profile
Draft

feat: add number_of_employees field to Profile API#313
Jai Shankar (jaishankar-plivo) wants to merge 1 commit into
masterfrom
feat/add-number-of-employees-to-profile

Conversation

@jaishankar-plivo

Copy link
Copy Markdown

Description

Adds a new optional number_of_employees string field to the Profile (10DLC/A2P account profile) create API, and documents it in the update params comment. This mirrors the recently shipped doing_business_as field and matches a corresponding backend change in campaign-service.

There is no client-side enum validation — any string is accepted and the server validates the value (same handling as doing_business_as and business_contact_email).

Allowed values (server-validated, documented in a code comment)

  • BETWEEN_1_AND_10
  • BETWEEN_11_AND_50
  • BETWEEN_51_AND_200
  • BETWEEN_201_AND_500
  • BETWEEN_501_AND_2000
  • BETWEEN_2001_AND_10000
  • MORE_THAN_10001

Changes

  • plivo/resources/profile.py: added field to create @validate_args (optional string) and method signature (default ''), updated update params comment.
  • Tests and fixtures updated for parity with doing_business_as.
  • Version bumped 4.60.2 -> 4.60.3.
  • CHANGELOG entry added.

🤖 Generated with Claude Code

Adds an optional `number_of_employees` string field to the Profile
create API and documents it in the update params comment, mirroring the
recently added `doing_business_as` field. No client-side enum validation;
the server validates the allowed values. Bumps version to 4.60.3 and
updates tests, fixtures, and changelog.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant